﻿package app.controller
{
	import app.model.proxy.ConnectProxy;
	import app.model.vo.EggsVo;
	import org.osflash.thunderbolt.Logger;
    import org.puremvc.as3.interfaces.ICommand;
    import org.puremvc.as3.interfaces.INotification;
    import org.puremvc.as3.patterns.command.SimpleCommand;
    
    import app.facade.App;
	import app.model.proxy.AppProxy;
	import app.model.proxy.ExternalProxy;
	import app.view.mediator.StageMediator;				
	import app.facade.EApp;

    public class AppCommand extends SimpleCommand implements ICommand
    {
		private var appProxy:AppProxy = null;
		
	    override public function execute( note:INotification ) : void	{
			var name:String = note.getName();
			var body:Object = note.getBody();
			switch (name) {
				//code call ra ngoai js				
			}				 	
        }
		private function get external():ExternalProxy {
			return facade.retrieveProxy( ExternalProxy.NAME ) as ExternalProxy; 
		}
    }
}